/*
 SGGameProgressViewController.h
 Date Created: April 4, 2010
 
 Author: Frank Lau <flaua@sfu.ca>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */
#import <UIKit/UIKit.h>
#import "../s7graphview/S7GraphView.h"

@interface SGGameProgressViewController : UIViewController<S7GraphViewDataSource>{
	S7GraphView *graphView;                   //object responsible for plotting the graph
	NSMutableArray *xValuesForProgressChart;  //x values for the chart 
	NSMutableArray *yValuesForProgressChart;  //y values for the chart
}

@property (nonatomic, retain) S7GraphView *graphView;

/**
 * Constructor used to draw progress chart for end of level and end game
 * 
 * \param xValues An array of x values (level numbers) that will be displayed at the end game progress chart
 * \param yValues An array of y values (sorting accuracy for each level) that will be displayed at the end game progress chart
 *
 * \return A SGGameProgressViewController containing x and y values for the progress chart
 */

- (SGGameProgressViewController*)initWithXValues:(NSMutableArray*)xValues initWithYValues:(NSMutableArray*)yValues;


@end
